package com.ly.heart.domain.vo.select;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@ApiModel ( "采购订单选单返回Vo" )
@Data
public class OrderSelectVo {

    @ApiModelProperty ("采购订单id")
    private String id;

    @ApiModelProperty ("采购订单编码")
    private String docCode;

    @ApiModelProperty ("采购日期")
    @JsonFormat( pattern = "yyyy-MM-dd" )
    private Date applyTime;

    @ApiModelProperty ("供应商id")
    private String supplierId;

    @ApiModelProperty ("供应商编码")
    private String supplierCode;

    @ApiModelProperty ("供应商名称")
    private String supplierName;

    @ApiModelProperty ("行号")
    private String lineNumber;

    @ApiModelProperty ("源单Id")
    private String sourceId;

    @ApiModelProperty ("源单物料明细Id")
    private String sourceMaterialDetailId;

    @ApiModelProperty ("物料明细Id")
    private String materialDetailId;

    @ApiModelProperty ("物料Id")
    private String materialId;

    @ApiModelProperty ("物料编码")
    private String materialCode;

    @ApiModelProperty ("物料名称")
    private String materialName;

    @ApiModelProperty ( "规格型号" )
    private String model;

    @ApiModelProperty ("采购单位")
    private String purchaseUnit;

    @ApiModelProperty ("采购单位名称")
    private String purchaseUnitName;

    @ApiModelProperty ("采购数量")
    private String number;

    @ApiModelProperty ("价税合计")
    private String totalTaxPrice;

    @ApiModelProperty ("单价")
    private String price;

    @ApiModelProperty ("含税单价")
    private String taxPrice;

    @ApiModelProperty ("税率")
    private String taxRate;

    @ApiModelProperty ("税额")
    private String taxAmount;

    @ApiModelProperty ("交货日期")
    @JsonFormat( pattern = "yyyy-MM-dd" )
    private Date deliveryDate;

    @ApiModelProperty ("净价")
    private String netAmount;

    @ApiModelProperty ("金额")
    private String amountMoney;

    @ApiModelProperty ("是否赠品")
    private Boolean isGiveaway;

    @ApiModelProperty ("批号")
    private String batchNum;

    @ApiModelProperty ("业务含税单价")
    private String businessTaxPrice;

    @ApiModelProperty ("业务单价")
    private String businessPrice;

    @ApiModelProperty ("需求组织")
    private String requireOrg;

    @ApiModelProperty ("需求组织名称")
    private String requireOrgName;

    @ApiModelProperty ("收料组织")
    private String receivingOrg;

    @ApiModelProperty ("收料组织")
    private String receivingOrgName;

    @ApiModelProperty ("结算组织")
    private String settlementDept;

    @ApiModelProperty ("结算组织名称")
    private String settlementDeptName;

    @ApiModelProperty ("状态")
    private String state;

    @ApiModelProperty ("状态名称")
    private String stateName;

    @ApiModelProperty ("创建人")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @JsonFormat ( pattern = "yyyy-MM-dd" )
    private Date createTime;




}
